import request from '@/utils/request'

export function getAttribute(params) {
  return request({
    url: '/attribute',
    method: 'get',
    params
  })
}

export function uploadTorrent(data) {
  return request({
    url: '/upload/torrent',
    method: 'post',
    headers:{
      "Content-Type":"multipart.form-data;charset=utf8"
    },
    data
  })
}
